package com.fahai.web.service.impl;

import com.fahai.web.dao.UserLawyerMapper;
import com.fahai.web.entity.UserLawyer;
import com.fahai.web.service.UserLawyerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author chao
 * @Time 2017/8/16 下午2:15
 * @Version 1.0
 */
@Service
public class UserLawyerServiceImpl implements UserLawyerService {

    @Autowired
    private UserLawyerMapper userLawyerMapper;

    @Override
    public void insertUserLawyer(UserLawyer userLawyer) {
        userLawyerMapper.insertUseGeneratedKeys(userLawyer);
    }
}
